package org.anti996.lms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 货车表
 * </p>
 *
 * @author The Anti996 Authors
 * @since 2022-07-15
 */
@Getter
@Setter
  @ApiModel(value = "Truck对象", description = "货车表")
public class Truck implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("货车编号")
        @TableId(value = "t_id", type = IdType.AUTO)
      private Integer tId;

      @ApiModelProperty("车牌号")
      private String num;

      @ApiModelProperty("车辆类型")
      private String type;

      @ApiModelProperty("车辆拥有者")
      private String owner;

      @ApiModelProperty("状态")
      private Integer state;

      @ApiModelProperty("当前位于仓库")
      private Integer wId;

      @ApiModelProperty("逻辑删除")
      @TableLogic
      private Boolean deleted;
}
